package org.example.service;

import org.example.pojo.Personalmessage;

import java.util.List;

public interface PersonalmessageService {
    void insertPersonalMessage(Integer userId, Integer companyId, Integer jobId, Integer resumeId);

    Personalmessage selectStatus(Integer userId, Integer jobId, Integer companyId);

    List<Personalmessage> selectByUserId(Integer userId);

    void removeCollectJob(Integer userId, Integer jobId, Integer companyId);

    void removePostJob(Integer userId, Integer jobId, Integer companyId);

    void removeRecruitJob(Integer userId, Integer jobId, Integer companyId);

    void updateInterview(Integer jobId, Integer companyId, Integer resumeId, Integer approve);

    Personalmessage selectByUserIdAndJobIdAndCompanyId(Integer userId, Integer jobId, Integer companyId, Integer resumeId);

    void insertPersonalFavorMessage(Integer userId, Integer companyId, Integer jobId, Integer resumeId);

    void updatePersonalFavorMessage(Integer userId, Integer companyId, Integer jobId, Integer resumeId);

    void updateFavorNullMessage(Integer userId, Integer companyId, Integer jobId, Integer resumeId);

    void updatePostIdMessage(Integer userId, Integer companyId, Integer jobId, Integer resumeId);

    void insertPersonalApproveMessage(Integer userId, Integer companyId, Integer jobId, Integer resumeId);
}
